package ModelLayer;

public class Saede {
	//instance variables
    private int saedeId;
    private int saedeNr;
    private boolean saedeStatus;
    private byte raekkeNr; 
    private Sal sal;
    
    // Creates a new instance of Sale 
    public Saede() {
    }
    public Saede(int saedeId, int saedeNr, byte raekkeNr, boolean saedeStatus) {
    	this.saedeId = saedeId;
    	this.saedeNr = saedeNr;
    	this.raekkeNr = raekkeNr;
    	this.saedeStatus = saedeStatus;
        sal = new Sal();
    }
  
    public Saede( int saedeNr, byte raekkeNr, Sal sal) {
		super();
		this.saedeNr = saedeNr;
		this.raekkeNr = raekkeNr;
		this.sal = sal;
	}
	public Saede(int saedeId) {
		this.saedeId = saedeId;
	}
	//set methods
    public void setSaedeId(int saedeId)
    {
        this.saedeId = saedeId;
    }
    public void setSaedeNr(int saedeNr)
    {
        this.saedeNr = saedeNr;
    }
    public void setRaekkeNr(byte raekkeNr)
    {
        this.raekkeNr = raekkeNr;
    }     
	 
	public void setSaedeStatus(boolean saedeStatus) {
		this.saedeStatus = saedeStatus;
	}
	public void setSal(Sal sal)
    {
        this.sal = sal;
    }
    
  //get method
    public int getSaedeId()
    {
        return saedeId;
    }
    public int getSaedeNr()
    {
        return saedeNr;
    }
    public byte getRaekkeNr()
    {
        return raekkeNr;
    }
    public boolean getSaedeStatus() {
		return saedeStatus;
	}
    public Sal getSal()
    {
        return sal;
    }
   
}
